How to replace list items in order of another list in Python

welcome to shbcf.ru